// Color
$primary-color          : #f0cb96;
$info-color             : #4299a6;
$success-color          : #f28227;
$warning-color          : #ff9900;
$error-color            : #ff5500;
$link-color             : #3399ff;
$link-hover-color       : tint($link-color, 20%);
$link-active-color      : shade($link-color, 5%);
$selected-color         : fade($primary-color, 90%);
$tooltip-color          : #fff;
$rate-star-color        : #f5a623;
$text-color             : #333;
$sub-color              : #666;
$thr-color              : #888;
$line-color             : #ddd;
// Background color
$background-color       : #f2f2f2;  // base
$shadow-color           : rgba(0, 0, 0, .2);
$tooltip-bg             : rgba(70, 76, 91, .9);

// Base
$font-size-boot         : 20;
$font-family            : "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
$font-size-base         : 14px;
$font-size-small        : 12px;
$border-radius-base     : 6px;
$border-radius-small    : 4px;
$circle                 : 50%;
$cursor-disabled        : not-allowed;
$base-padding           : 15px;

// Border color
$border-color-base      : #d7dde4;  // outside
$border-color-split     : #e3e8ee;  // inside

// Button
$btn-font-weight        : normal;
$btn-padding-base       : 6px 15px;
$btn-padding-large      : 6px 15px 7px 15px;
$btn-padding-small      : 2px 7px;
$btn-font-size          : 12px;
$btn-font-size-large    : 14px;
$btn-border-radius      : 4px;
$btn-border-radius-small: 3px;
$btn-group-border       : shade($primary-color, 5%);

$btn-disable-color      : #c3cbd6;
$btn-disable-bg         : $background-color;
$btn-disable-border     : $border-color-base;

$btn-default-color      : $text-color;
$btn-default-bg         : $background-color;
$btn-default-border     : $border-color-base;

$btn-primary-color      : #fff;
$btn-primary-bg         : $primary-color;

$btn-ghost-color        : $text-color;
$btn-ghost-bg           : transparent;
$btn-ghost-border       : $border-color-base;

$btn-circle-size        : 32px;
$btn-circle-size-large  : 36px;
$btn-circle-size-small  : 24px;

// Layout and Grid
$grid-columns           : 24;
$grid-gutter-width      : 0;

// Input
$input-height-base           : 32px;
$input-height-large          : 36px;
$input-height-small          : 24px;

$input-padding-horizontal    : 7px;
$input-padding-vertical-base : 4px;
$input-padding-vertical-small: 1px;
$input-padding-vertical-large: 6px;

$input-placeholder-color     : $btn-disable-color;
$input-color                 : $text-color;
$input-border-color          : $border-color-base;
$input-bg                    : #fff;

$input-hover-border-color    : $primary-color;
$input-focus-border-color    : $primary-color;
$input-disabled-bg           : #f3f3f3;

// Tag
$tag-font-size          : 12px;

// Media queries breakpoints
// Extra small screen / phone
$screen-xs              : 480px;
$screen-xs-min          : $screen-xs;
$screen-xs-max          : ($screen-xs-min - 1);

// Small screen / tablet
$screen-sm              : 768px;
$screen-sm-min          : $screen-sm;
$screen-sm-max          : ($screen-sm-min - 1);

// Medium screen / desktop
$screen-md              : 992px;
$screen-md-min          : $screen-md;
$screen-md-max          : ($screen-md-min - 1);

// Large screen / wide desktop
$screen-lg              : 1200px;
$screen-lg-min          : $screen-lg;
$screen-lg-max          : ($screen-lg-min - 1);

// Z-index
$zindex-spin            : 8;
$zindex-affix           : 10;
$zindex-back-top        : 10;
$zindex-select          : 900;
$zindex-modal           : 1000;
$zindex-message         : 1010;
$zindex-notification    : 1010;
$zindex-tooltip         : 1060;
$zindex-header          : 1990;
$zindex-loading-bar     : 2000;

// Animation
$animation-time         : .3s;
$transition-time        : .2s;
$ease-in-out            : ease-in-out;

// px转rem
$psd-width-base         : 640;
$psd-width-nor          : 750;
@function p2r($pxs){
  @return $pxs / $psd-width-nor * $psd-width-base / $font-size-boot / 2 +rem
};

// header
$header-height          :p2r(90);
